import axios from 'axios'
import config from '@/config'

export function uploadImage(data) {
    return axios({
        headers: {
            'Content-Type': 'multipart/form-data'
        },
        method: 'post',
        url: config.serverURI + config.api.upload_image,
        data
    })
}